//package com.yiwei.hdb.impl;
//
//import android.content.Context;
//
//import com.yiwei.hdb.constant.Const;
//import com.yiwei.hdb.http.CallBackListener;
//import com.yiwei.hdb.http.InfoCallBack;
//import com.yiwei.hdb.http.InterfaceServer;
//import com.yiwei.hdb.model.BannerModel;
//import com.yiwei.hdb.model.LoginAndRegisterModel;
//import com.yiwei.hdb.model.RequestModel;
//import com.yiwei.hdb.model.ResponseModel;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
///**
// * Created by xsooy-pc on 2017/5/5.
// */
//
//public class BannerInfoImpl {
//
//    public static final String TYPE_DEAL = "deal";
//    public static final String TYPE_TOP = "top";
//
//    public static void getBannerInfo(Context context, String type, InfoCallBack callBack) {
//        Map<String, Object> mapData = new HashMap<String, Object>();
//        mapData.put("page", type);
//        RequestModel model = new RequestModel(mapData);
//        InterfaceServer.getInstance(context.getApplicationContext()).requestInterface(Const.BANNER, Const.RequestMethod.POST, model, Const.DEFAULT_TIMEOUT, new CallBackListener<BannerModel>(BannerModel.class, callBack));
//    }
//}
